#!/bin/sh

echo "Waiting for django..."

while ! nc -z 127.0.0.1 8000; do
sleep 0.1
done

echo "django started"

npm run start

exec "$@"